package org.demo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * {@code @TableName}: 当前实体类对应的表名，若不指定则将类名视作表名
 *
 * @author yexi
 */
@TableName(value = "department")
@Data
public class Department {
    /**
     * 故意留出一个基础类型测试sql拼接，实际开发请勿这么操作
     */
    private long deptNo;
    private String deptName;
    private String location;

}
